package com.huawei.appgallery.forum.cards.card;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.text.TextUtils;
import android.view.LayoutInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.view.ViewStub;
import android.widget.ImageView;
import android.widget.ImageView.ScaleType;
import android.widget.LinearLayout;
import android.widget.PopupMenu;
import android.widget.PopupMenu.OnMenuItemClickListener;
import android.widget.RelativeLayout.LayoutParams;
import android.widget.TextView;
import com.huawei.appgallery.forum.base.card.ForumCard;
import com.huawei.appgallery.forum.base.card.bean.ImageInfo;
import com.huawei.appgallery.forum.base.card.bean.Post;
import com.huawei.appgallery.forum.base.card.bean.PostTime;
import com.huawei.appgallery.forum.base.card.bean.User;
import com.huawei.appgallery.forum.base.card.bean.VideoInfo;
import com.huawei.appgallery.forum.cards.bean.ForumPostCardBean;
import com.huawei.appgallery.forum.cards.widget.HighLightTextView;
import com.huawei.appgallery.forum.cards.widget.LikeImageView;
import com.huawei.appgallery.forum.cards.widget.PostTitleTextView;
import com.huawei.appgallery.forum.cards.widget.PostUserContentView;
import com.huawei.appgallery.forum.posts.api.IPostDetailProtocol;
import com.huawei.appgallery.forum.posts.api.IPostDetailResult;
import com.huawei.appgallery.forum.user.api.IUserHomePageProtocol;
import com.huawei.appgallery.foundation.account.bean.UserSession;
import com.huawei.appgallery.foundation.ui.framework.cardkit.bean.CardBean;
import com.huawei.appgallery.foundation.ui.framework.widget.Space;
import com.huawei.appmarket.framework.widget.RoundCornerLayout;
import com.huawei.appmarket.support.video.VideoPlayer;
import huawei.widget.HwTextView;
import java.util.List;
import o.azb;
import o.bqx;
import o.bqy;
import o.bsn;
import o.bsy;
import o.bsy.a;
import o.bsy.c;
import o.bsy.e;
import o.bsy.f;
import o.bsy.h;
import o.bsy.j;
import o.btl;
import o.bwx;
import o.bxc;
import o.cgz;
import o.chy;
import o.cil;
import o.cim;
import o.dof;
import o.ContentManager;
import o.eqx;
import o.evf;
import o.evp.b;
import o.evx;
import o.fho;
import o.fiu;
import o.fjb;
import o.fjc;
import o.fjo;
import o.fjq;
import o.fke;
import o.fkg;
import o.ll;

public class ForumPostCard extends ForumCard implements btl {
    public static final String ˊ = (bqy.ˋ().ˏ().getPackageName() + ".forum.section.post.read.action");
    protected LinearLayout ʻ;
    protected ViewStub ʻॱ;
    protected LinearLayout ʼ;
    protected RoundCornerLayout ʽ;
    protected LikeImageView ˊॱ;
    protected ViewStub ˋ;
    private LinearLayout ˋˋ;
    protected HwTextView ˋॱ;
    private ViewStub ˋᐝ;
    private PopupMenu ˌ;
    private ImageView ˍ;
    protected PostTitleTextView ˎ;
    private ViewStub ˎˎ;
    protected HighLightTextView ˏ;
    protected HwTextView ˏॱ;
    protected View ͺ;
    protected View ॱ;
    protected LinearLayout ॱˊ;
    protected ImageView ॱˋ;
    public ForumPostCardBean ॱˎ;
    protected ViewStub ॱॱ;
    private VideoPlayer ॱᐝ;
    protected HwTextView ᐝ;
    protected PostUserContentView ᐝॱ;

    public ForumPostCard(Context context) {
        super(context);
    }

    public cgz ˏ(View view) {
        ʽ(view);
        ˎ(view);
        View view2 = (LinearLayout) view.findViewById(c.ʾॱ);
        ˎ((LinearLayout) view2);
        ˏ(view2, false);
        this.ˋ = (ViewStub) view.findViewById(c.ʻˋ);
        this.ˎ = (PostTitleTextView) view.findViewById(c.ˌॱ);
        this.ˏ = (HighLightTextView) view.findViewById(c.ʻᐝ);
        this.ॱॱ = (ViewStub) view.findViewById(c.ʿॱ);
        this.ˎˎ = (ViewStub) view.findViewById(c.ˊʼ);
        this.ˋᐝ = (ViewStub) view.findViewById(c.ˈॱ);
        this.ᐝ = (HwTextView) view.findViewById(c.ʽˋ);
        this.ʻ = (LinearLayout) view.findViewById(c.ʽˊ);
        this.ˏॱ = (HwTextView) view.findViewById(c.ʼᐝ);
        this.ˊॱ = (LikeImageView) view.findViewById(c.ʽᐝ);
        this.ʻ.setOnClickListener(new OnClickListener(this) {
            final /* synthetic */ ForumPostCard ॱ;

            {
                this.ॱ = r1;
            }

            public void onClick(View view) {
                this.ॱ.ᐝॱ();
            }
        });
        this.ॱˋ = (ImageView) view.findViewById(c.ʹ);
        this.ॱˋ.setImageDrawable(evf.ˋ(this.ʼॱ, a.ˏ));
        this.ॱˊ = (LinearLayout) view.findViewById(c.ʼˊ);
        this.ˋॱ = (HwTextView) view.findViewById(c.ﾞ);
        ˏ(this.ॱˊ, true);
        this.ˋˋ = (LinearLayout) view.findViewById(c.ᐝˋ);
        this.ˋˋ.setOnClickListener(new OnClickListener(this) {
            final /* synthetic */ ForumPostCard ˏ;

            {
                this.ˏ = r1;
            }

            public void onClick(View view) {
                if (this.ˏ.ˌ != null) {
                    this.ˏ.ˌ.show();
                }
            }
        });
        this.ͺ = view.findViewById(c.ʼˋ);
        return this;
    }

    protected void ˎ(LinearLayout linearLayout) {
        azb.ˏ((View) linearLayout);
    }

    protected void ˎ(View view) {
        this.ʻॱ = (ViewStub) view.findViewById(c.ˑॱ);
        if (this.ᐝॱ == null) {
            this.ᐝॱ = (PostUserContentView) this.ʻॱ.inflate();
        }
        this.ᐝॱ.setUserContentClickLisenter(this);
        ʼ();
    }

    protected void ʼ() {
    }

    private void ˏ(View view, final boolean z) {
        if (view != null) {
            view.setOnClickListener(new evx(this) {
                final /* synthetic */ ForumPostCard ˋ;

                public void ˋ(View view) {
                    this.ˋ.ॱ(z);
                }
            });
        }
    }

    public void ˏ(CardBean cardBean) {
        if (cardBean instanceof ForumPostCardBean) {
            super.ˏ(cardBean);
            this.ॱˎ = (ForumPostCardBean) cardBean;
            ˎ();
            Post ʽ = this.ॱˎ.ʽ();
            if (ʽ != null) {
                PostTime ˋॱ = this.ॱˎ.ˋॱ();
                if (ˋॱ != null) {
                    ˋ(ˋॱ);
                }
                ˊ(ʽ.ॱˊ());
                ˎ(ʽ);
                if (dof.ॱ(ʽ.ॱ())) {
                    this.ˏ.setVisibility(8);
                } else {
                    this.ˏ.setVisibility(0);
                    ˏ(ʽ);
                }
                ʻॱ();
                ˊ(ʽ);
                ˏ(false);
                ˎ(ʽ.ʼ());
                ॱ(ʽ);
                User ᐝ = this.ॱˎ.ᐝ();
                if (this.ॱˎ.ॱˊ() == 1 && ᐝ.ʼ()) {
                    this.ˋˋ.setVisibility(0);
                    ॱॱ();
                } else if (this.ॱˎ.ॱˊ() == 2) {
                    this.ˋˋ.setVisibility(0);
                    ॱॱ();
                } else {
                    this.ˋˋ.setVisibility(8);
                }
                ˋॱ();
            }
        }
    }

    private void ॱॱ() {
        if (this.ॱˎ != null) {
            this.ˌ = new PopupMenu(this.ʼॱ, this.ˋˋ);
            if (this.ʼॱ instanceof Activity) {
                ((Activity) this.ʼॱ).getMenuInflater().inflate(f.ॱ, this.ˌ.getMenu());
                if (this.ॱˎ.ॱˊ() == 1) {
                    this.ˌ.getMenu().findItem(c.ʼ).setVisible(true);
                    this.ˌ.getMenu().findItem(c.ॱ).setVisible(false);
                } else if (this.ॱˎ.ॱˊ() == 2) {
                    this.ˌ.getMenu().findItem(c.ʼ).setVisible(false);
                    this.ˌ.getMenu().findItem(c.ॱ).setVisible(true);
                }
                this.ˌ.setOnMenuItemClickListener(new OnMenuItemClickListener(this) {
                    final /* synthetic */ ForumPostCard ˏ;

                    {
                        this.ˏ = r1;
                    }

                    public boolean onMenuItemClick(MenuItem menuItem) {
                        this.ˏ.ˋ(menuItem);
                        return false;
                    }
                });
            }
        }
    }

    private void ˋ(MenuItem menuItem) {
        if (this.ॱˎ != null && this.ॱˎ.ʽ() != null) {
            bwx o_bwx = (bwx) fho.ˏ().ˋ("Operation").ॱ(bwx.class);
            if (this.ॱˎ.ॱˊ() == 1) {
                o_bwx.ॱ(this.ʼॱ, this.ॱˎ.ʽ().ˏ(), this.ॱˎ.ॱ()).ˏ(new fjq<Boolean>(this) {
                    final /* synthetic */ ForumPostCard ˎ;

                    {
                        this.ˎ = r1;
                    }

                    public void onComplete(fjo<Boolean> o_fjo_java_lang_Boolean) {
                        if (o_fjo_java_lang_Boolean.ˊ() && ((Boolean) o_fjo_java_lang_Boolean.ॱ()).booleanValue()) {
                            this.ˎ.ʻ();
                        }
                    }
                });
            } else if (this.ॱˎ.ॱˊ() == 2) {
                o_bwx.ˎ(this.ʼॱ, this.ॱˎ.ʽ().ˏ(), 0, this.ॱˎ.ॱ()).ˏ(new fke<bxc>(this) {
                    final /* synthetic */ ForumPostCard ˊ;

                    {
                        this.ˊ = r1;
                    }

                    public /* synthetic */ void ॱ(Object obj) {
                        ˎ((bxc) obj);
                    }

                    public void ˎ(fkg o_fkg) {
                    }

                    public void ˎ(bxc o_bxc) {
                        if (o_bxc.ˏ() == 0 && o_bxc.ˎ()) {
                            this.ˊ.ʽ();
                        }
                    }

                    public void ˊ(Exception exception) {
                    }

                    public void ॱ() {
                    }
                });
            }
            this.ˌ.dismiss();
        }
    }

    private void ʽ() {
        Intent intent = new Intent(bsn.ˋ);
        intent.putExtra("cardId", String.valueOf(this.ॱˎ.ʽ().ˋॱ()));
        ll.ˏ(this.ʼॱ).ˋ(intent);
    }

    private void ʻ() {
        Intent intent = new Intent(bsn.ˊ);
        intent.putExtra("cardId", String.valueOf(this.ॱˎ.ʽ().ˋॱ()));
        ll.ˏ(this.ʼॱ).ˋ(intent);
    }

    protected void ˋॱ() {
        if (this.ॱˎ.ॱㆍ()) {
            this.ͺ.setVisibility(8);
        } else {
            this.ͺ.setVisibility(0);
        }
    }

    protected void ˊ(Post post) {
        if (post.ᐝॱ() && post.ʻॱ()) {
            ॱ(post.ʽ());
            this.ˎˎ.setVisibility(8);
            this.ˋᐝ.setVisibility(8);
            return;
        }
        ˎ(post.ॱॱ());
        this.ॱॱ.setVisibility(8);
    }

    protected void ˏॱ() {
        LayoutParams layoutParams = (LayoutParams) this.ॱᐝ.getLayoutParams();
        layoutParams.width = ॱᐝ() - ॱˋ();
        layoutParams.height = (int) (((double) layoutParams.width) / 1.7777777777777777d);
        this.ॱᐝ.setLayoutParams(layoutParams);
    }

    protected void ॱ(VideoInfo videoInfo) {
        if (this.ॱᐝ == null) {
            View inflate = this.ॱॱ.inflate();
            this.ॱᐝ = (VideoPlayer) inflate.findViewById(c.ॱᐧ);
            this.ʽ = (RoundCornerLayout) inflate.findViewById(c.ॱᶥ);
            ˏॱ();
            ˏ(this.ॱᐝ);
        }
        this.ॱॱ.setVisibility(0);
        int i = c.ʻ;
        int i2 = c.ˊॱ;
        String str = (String) this.ʽ.getTag(i);
        String str2 = (String) this.ʽ.getTag(i2);
        String ˎ = videoInfo.ˎ();
        String ˊ = videoInfo.ˊ();
        if (!TextUtils.isEmpty(str) && str.equals(ˎ)) {
            return;
        }
        if (TextUtils.isEmpty(str2) || !str2.equals(ˊ)) {
            this.ʽ.setTag(i, ˎ);
            this.ʽ.setTag(i2, ˊ);
            this.ॱᐝ.setVideoBaseInfo(new b().ˎ(videoInfo.ॱ()).ˊ(ˊ).ˋ(ˎ).ʼ(videoInfo.ˋ()).ᐝ(videoInfo.ˋ()).ʻ(videoInfo.ˏ()).ॱॱ(videoInfo.ʻ()).ॱ());
            eqx.ˎ(this.ॱᐝ.ॱॱ(), ˊ);
            this.ॱᐝ.ॱॱ().setContentDescription(this.ˊᐝ.v_());
        }
    }

    protected void ˏ(VideoPlayer videoPlayer) {
    }

    protected void ˎ(long j) {
        if (j > 0) {
            this.ˋॱ.setText(String.valueOf(j));
        } else {
            this.ˋॱ.setText(this.ʼॱ.getString(j.ͺ));
        }
        ॱˊ();
    }

    protected void ॱˊ() {
    }

    protected void ˊ(int i) {
        if (3 == i) {
            ˋ(j.ˊॱ);
        } else if (2 == i) {
            ˋ(j.ˏॱ);
        } else {
            this.ˋ.setVisibility(8);
        }
    }

    protected void ˋ(int i) {
        if (this.ॱ == null) {
            this.ॱ = this.ˋ.inflate();
        }
        this.ˋ.setVisibility(0);
        TextView textView = (HwTextView) this.ॱ.findViewById(c.ʻˊ);
        textView.setText(i);
        ˋ(textView);
    }

    protected void ˋ(TextView textView) {
    }

    protected void ˋ(PostTime postTime) {
    }

    protected void ˎ(Post post) {
        this.ˎ.setData(post.ˊ(), post.ˋ());
    }

    protected void ˏ(Post post) {
        this.ˏ.setText(post.ॱ());
    }

    public void ˏ(boolean z) {
        if (this.ॱˎ.ʽ().ʻ() > 0) {
            this.ˏॱ.setText(String.valueOf(this.ॱˎ.ʽ().ʻ()));
        } else {
            this.ˏॱ.setText(this.ʼॱ.getString(j.ˋॱ));
        }
        ͺ();
        if (z) {
            ᐝ();
        }
    }

    protected void ͺ() {
        if (this.ॱˎ.M_()) {
            this.ˊॱ.ˊ(a.ॱ);
        } else {
            this.ˊॱ.ˊ(a.ˎ);
        }
    }

    protected void ᐝ() {
    }

    protected void ˎ() {
        if (this.ᐝॱ != null) {
            this.ᐝॱ.setData(this.ॱˎ.ᐝ(), this.ॱˎ.ˋॱ());
            ˊॱ();
            return;
        }
        bqx.ॱ("ForumPostCard", "null == postUserContentView");
    }

    protected void ˊॱ() {
        LinearLayout.LayoutParams layoutParams = (LinearLayout.LayoutParams) this.ᐝॱ.getLayoutParams();
        if (this.ॱˎ.ॱˍ()) {
            layoutParams.topMargin = 0;
        } else {
            layoutParams.topMargin = this.ʼॱ.getResources().getDimensionPixelOffset(e.ʻ);
        }
        this.ᐝॱ.setLayoutParams(layoutParams);
    }

    public void ॱ(boolean z) {
        if (this.ॱˎ != null && this.ॱˎ.ʽ() != null) {
            cil.ˋ(this.ʼॱ, new cim.a().ˊ(this.ॱˎ.ʽ().ͺ()).ˋ());
            fjb ˎ = fho.ˏ().ˋ("Posts").ˎ("post.detail.activity");
            IPostDetailProtocol iPostDetailProtocol = (IPostDetailProtocol) ˎ.ˊ();
            if (this.ॱˎ.ͺ()) {
                iPostDetailProtocol.setSourceType(1);
            }
            iPostDetailProtocol.setUri(this.ॱˎ.ʽ().ͺ());
            iPostDetailProtocol.setNeedComment(z);
            iPostDetailProtocol.setPostStatus(this.ॱˎ.ʽ().ॱˊ());
            iPostDetailProtocol.setDomainId(this.ॱˎ.ॱ());
            fiu.ˊ().ॱ(this.ʼॱ, ˎ, new fjc<IPostDetailResult>(this) {
                final /* synthetic */ ForumPostCard ॱ;

                {
                    this.ॱ = r1;
                }

                public void ˎ(int i, IPostDetailResult iPostDetailResult) {
                    if (i == -1 && iPostDetailResult != null) {
                        if (iPostDetailResult.getLike() >= 0) {
                            this.ॱ.ॱˎ.ˊ(iPostDetailResult.getLike());
                        }
                        if (iPostDetailResult.getLikeCount() >= 0) {
                            this.ॱ.ॱˎ.ʽ().ˋ(iPostDetailResult.getLikeCount());
                        }
                        this.ॱ.ˏ(true);
                        this.ॱ.ॱ(iPostDetailResult);
                    }
                }
            });
        }
    }

    public void ॱ(IPostDetailResult iPostDetailResult) {
        if ((iPostDetailResult.getRtnCode() == 0 || iPostDetailResult.getRtnCode() == 2) && this.ॱˎ.ͺ() && UserSession.getInstance().isLoginSuccessful()) {
            Intent intent = new Intent(ˊ);
            intent.putExtra("post_id", this.ॱˎ.ʽ().ˏ());
            ll.ˏ(this.ʼॱ).ˋ(intent);
            this.ॱˎ.ˏ(true);
            ʻॱ();
        }
    }

    protected void ᐝॱ() {
        if (this.ॱˎ != null && this.ॱˎ.ʽ() != null) {
            final int i = this.ॱˎ.M_() ? 1 : 0;
            ((bwx) fho.ˏ().ˋ("Operation").ॱ(bwx.class)).ˊ(this.ʼॱ, this.ॱˎ.ʽ().ॱˊ(), 0, this.ॱˎ.ʽ().ˏ(), i, this.ॱˎ.ॱ(), this.ॱˎ.ʼ()).ˏ(new fke<bxc>(this) {
                final /* synthetic */ ForumPostCard ˏ;

                public /* synthetic */ void ॱ(Object obj) {
                    ˋ((bxc) obj);
                }

                public void ˎ(fkg o_fkg) {
                }

                public void ˋ(bxc o_bxc) {
                    if (o_bxc.ˏ() == 9 && o_bxc.ˎ()) {
                        bqx.ˏ("ForumPostCard", "AUTHENTION_ACCESS is ok");
                        this.ˏ.ˎ(i);
                    } else if (o_bxc.ˏ() == 0 && o_bxc.ˎ()) {
                        bqx.ˏ("ForumPostCard", "response is ok");
                    } else if (o_bxc.ˏ() == -1 && !o_bxc.ˎ()) {
                        bqx.ˏ("ForumPostCard", "response is fail");
                        if (i == 1) {
                            this.ˏ.ˎ(0);
                        } else {
                            this.ˏ.ˎ(1);
                        }
                    }
                }

                public void ˊ(Exception exception) {
                }

                public void ॱ() {
                }
            });
        }
    }

    public void ˎ(int i) {
        long ʻ = this.ॱˎ.ʽ().ʻ();
        if (i == 1) {
            this.ॱˎ.ˊ(0);
            if (ʻ > 0) {
                this.ॱˎ.ʽ().ˋ(ʻ - 1);
            }
        } else {
            this.ॱˎ.ˊ(1);
            this.ॱˎ.ʽ().ˋ(ʻ + 1);
        }
        ˏ(true);
    }

    protected void ˎ(List<ImageInfo> list) {
        if (list != null) {
            int size = list.size();
            if (size >= 3) {
                if (this.ʼ == null) {
                    this.ʼ = (LinearLayout) this.ˋᐝ.inflate().findViewById(c.ˉॱ);
                }
                this.ˎˎ.setVisibility(8);
                this.ˋᐝ.setVisibility(0);
                ˊ((List) list);
                return;
            } else if (size == 1 || size == 2) {
                if (this.ˍ == null) {
                    this.ˍ = (ImageView) this.ˎˎ.inflate().findViewById(c.ﾟ);
                }
                this.ˋᐝ.setVisibility(8);
                this.ˎˎ.setVisibility(0);
                ˏ(this.ˍ, ((ImageInfo) list.get(0)).ˋ());
                return;
            } else {
                this.ˎˎ.setVisibility(8);
                this.ˋᐝ.setVisibility(8);
                return;
            }
        }
        this.ˎˎ.setVisibility(8);
        this.ˋᐝ.setVisibility(8);
    }

    private void ˏ(ImageView imageView, String str) {
        if (imageView != null) {
            int ॱᐝ = ॱᐝ() - ॱˋ();
            imageView.setLayoutParams(new LinearLayout.LayoutParams(ॱᐝ, (int) (((double) ॱᐝ) / 1.7777777777777777d)));
            imageView.setTag(this.ˊᐝ);
            eqx.ˏ(imageView, str, "image_default_icon");
        }
    }

    protected int ॱᐝ() {
        return azb.ॱ(this.ʼॱ);
    }

    protected void ˊ(List<ImageInfo> list) {
        if (this.ʼ != null) {
            this.ʼ.removeAllViews();
            int ॱᐝ = ((ॱᐝ() - ॱˋ()) - (ContentManager.getInstant().getContext().getResources().getDimensionPixelSize(e.ʼॱ) * 2)) / 3;
            int i = (int) (((double) ॱᐝ) / 1.3333333333333333d);
            ViewGroup.LayoutParams layoutParams = new LinearLayout.LayoutParams(ContentManager.getInstant().getContext().getResources().getDimensionPixelSize(e.ʼॱ), -1);
            LayoutInflater from = LayoutInflater.from(this.ʼॱ);
            for (int i2 = 0; i2 < 3; i2++) {
                ImageView imageView = (ImageView) from.inflate(bsy.b.ॱˊ, null);
                imageView.setLayoutParams(new LinearLayout.LayoutParams(ॱᐝ, i));
                imageView.setScaleType(ॱˎ());
                this.ʼ.addView(imageView);
                if (i2 < 2) {
                    this.ʼ.addView(new Space(this.ʼॱ), layoutParams);
                }
                eqx.ˎ(imageView, ((ImageInfo) list.get(i2)).ˋ());
            }
        }
    }

    protected int ॱˋ() {
        return azb.ˊ(this.ʼॱ) + azb.ˏ(this.ʼॱ);
    }

    protected ScaleType ॱˎ() {
        return ScaleType.CENTER_CROP;
    }

    public void ॱ(final chy o_chy) {
        OnClickListener anonymousClass7 = new evx(this) {
            final /* synthetic */ ForumPostCard ॱ;

            public void ˋ(View view) {
                o_chy.ˏ(0, this.ॱ);
            }
        };
        if (this.ॱᐝ != null) {
            this.ॱᐝ.ॱॱ().setOnClickListener(anonymousClass7);
        }
        ˉ().setOnClickListener(anonymousClass7);
    }

    protected void ʻॱ() {
        if (this.ॱˎ.ˏॱ()) {
            this.ˎ.setReadedTextColor();
            this.ˏ.setReadedTextColor();
            return;
        }
        this.ˎ.setUnReadTextColor();
        this.ˏ.setUnReadTextColor();
    }

    public void ʽॱ() {
        if (this.ॱˎ != null && this.ॱˎ.ᐝ() != null) {
            fjb ˎ = fho.ˏ().ˋ("User").ˎ("UserHomePageActivity");
            IUserHomePageProtocol iUserHomePageProtocol = (IUserHomePageProtocol) ˎ.ˊ();
            iUserHomePageProtocol.setUri("forum|user_detail_topic");
            iUserHomePageProtocol.setUserId(this.ॱˎ.ᐝ().ॱ());
            iUserHomePageProtocol.setType(this.ॱˎ.ᐝ().ˊ());
            iUserHomePageProtocol.setDomainId(this.ॱˎ.ॱ());
            fiu.ˊ().ˏ(this.ʼॱ, ˎ);
        }
    }

    protected void ॱ(Post post) {
        this.ᐝ.setText(this.ʼॱ.getResources().getQuantityString(h.ˊ, (int) post.ᐝ(), new Object[]{Integer.valueOf((int) post.ᐝ())}));
        ʿ();
    }

    protected void ʿ() {
    }
}
